
$(document).ready(function() {
	
	$('#addexport').live('click', function() {
			$.ajax({
				url : '/DoanTotnghiep/addExportMedicine',
				success : function(data) {
					$('#content').html(data);
				}
			});
		});
	$('#selectorderdate').live('click', function() {
		var date = $('#searchorderDateKey').val();
		if(date == null || date == ""){
			return;
		}
		getListPurchase(date);
	});
	
});